﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="MainPage.aspx.cs" Inherits="TestWebApplication.MainPage" %>



<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <link type="text/css" href="Styles/jquery-ui-1.8.16.custom.css" rel="Stylesheet" />	
    <script type="text/javascript" src="Scripts/jquery-1.6.2.min.js"></script>
    <script type="text/javascript" src="Scripts/jquery-ui-1.8.16.custom.min.js"></script>
    <script>
        $(function () {
            $("#tabs").tabs();
        });
	</script>
    <h2>
        <asp:Label ID="test" runat="server"></asp:Label>
    </h2>
    <p>
        All items are listed below. To buy a certain item, please click "choose" button below.
    </p>
    <div id="tabs">
        <ul>
            <li><a href="#tabs-1">Single Items</a></li>
            <li><a href="#tabs-2">Bundles</a></li>
            <li><a href="#tabs-3">Subscriptions</a></li>
        </ul>
    <div id="tabs-1">
        <fieldset class="login">
            <legend>Choose a single item</legend>
                 <asp:Table id="singleItems" 
        GridLines="Both" 
        HorizontalAlign="Center" 
        Font-Names="Verdana"
        CellPadding="15" 
        CellSpacing="0" 
        Runat="server" Width="85%">
        
        
        </asp:Table>
     </fieldset>
    </div>
    <div id="tabs-2">
        <fieldset class="login">
    <legend>Choose a bundle</legend>
     <asp:Table id="bundleTable" 
        GridLines="Both" 
        HorizontalAlign="Center" 
        Font-Names="Verdana"
        CellPadding="15" 
        CellSpacing="0" 
        Runat="server" Width="85%">
        <asp:TableFooterRow>
            <asp:TableHeaderCell>ID</asp:TableHeaderCell>
            <asp:TableHeaderCell>Bundle Title</asp:TableHeaderCell>
            <asp:TableHeaderCell>Total Amount</asp:TableHeaderCell>
            <asp:TableHeaderCell>Currency</asp:TableHeaderCell>
            <asp:TableHeaderCell>Description</asp:TableHeaderCell>
            <asp:TableHeaderCell>Operation</asp:TableHeaderCell>
        </asp:TableFooterRow>
        
     </asp:Table>
     </fieldset>
    </div>
    <div id="tabs-3">
        <fieldset class="login">
    <legend>Choose a subscription</legend>
    <asp:Table id="Table3" 
        GridLines="Both" 
        HorizontalAlign="Center" 
        Font-Names="Verdana"
        CellPadding="15" 
        CellSpacing="0"
         Width="85%" 
        Runat="server">
        <asp:tableRow>
            <asp:TableCell RowSpan="5" Width="20%"><asp:Image ID="Image4" ImageUrl="sub.jpg" runat="server" Width="180"/></asp:TableCell>
            <asp:TableCell Width="40%">Title:</asp:TableCell>
            <asp:TableCell ID="title" Width="40%">Test Subscription 1</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Offer GUID:</asp:TableCell>
            <asp:TableCell ID="partner">5eab0912-f610-4992-9b3b-6138bb791617</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Currency:</asp:TableCell>
            <asp:TableCell ID="currency">USD</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Amount:</asp:TableCell>
            <asp:TableCell ID="amount">15.0m</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Operation:</asp:TableCell>
            <asp:TableCell><asp:Button ID="Button2" CommandArgument="800001" runat="server" BackColor="Gainsboro" BorderColor="HotTrack"
                        BorderStyle="Solid" BorderWidth="1px" ForeColor="Highlight" OnCommand="choose_Click"
                        Text="Choose It!!" Width="80" Height="40"/></asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell ColumnSpan="3" Height="100" ID="sdesc1">Description: Test subscription item</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell RowSpan="5" Width="20%"><asp:Image ID="Image6" ImageUrl="sub.jpg" runat="server" Width="180"/></asp:TableCell>
            <asp:TableCell Width="40%">Title:</asp:TableCell>
            <asp:TableCell ID="TableCell2" Width="40%">Test Subscription 2</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Offer GUID:</asp:TableCell>
            <asp:TableCell ID="TableCell3">Test Partner</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Currency:</asp:TableCell>
            <asp:TableCell ID="TableCell4">USD</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Amount:</asp:TableCell>
            <asp:TableCell ID="TableCell5">15.0m</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Operation:</asp:TableCell>
            <asp:TableCell><asp:Button ID="Button3" CommandArgument="800002" runat="server" BackColor="Gainsboro" BorderColor="HotTrack"
                        BorderStyle="Solid" BorderWidth="1px" ForeColor="Highlight" OnCommand="choose_Click"
                        Text="Choose It!!" Width="80" Height="40"/></asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell ColumnSpan="3" Height="100" ID="sdesc2">Description: Test subscription item</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell RowSpan="5" Width="20%"><asp:Image ID="Image7" ImageUrl="sub.jpg" runat="server" Width="180"/></asp:TableCell>
            <asp:TableCell Width="40%">Title:</asp:TableCell>
            <asp:TableCell ID="TableCell7" Width="40%">Test Subscription 3</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Offer GUID:</asp:TableCell>
            <asp:TableCell ID="TableCell8">Test Partner</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Currency:</asp:TableCell>
            <asp:TableCell ID="TableCell9">USD</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Amount:</asp:TableCell>
            <asp:TableCell ID="TableCell10">15.0m</asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell>Operation:</asp:TableCell>
            <asp:TableCell><asp:Button ID="Button4" CommandArgument="800003" runat="server" BackColor="Gainsboro" BorderColor="HotTrack"
                        BorderStyle="Solid" BorderWidth="1px" ForeColor="Highlight" OnCommand="choose_Click"
                        Text="Choose It!!" Width="80" Height="40"/></asp:TableCell>
        </asp:tableRow>
        <asp:tableRow>
            <asp:TableCell ColumnSpan="3" Height="100" ID="sdesc3">Description: Test subscription item</asp:TableCell>
        </asp:tableRow>
     </asp:Table>
     </fieldset>
    </div>
    </div>
</asp:Content>
